//定制接口请求
import axios from "axios";
const baseURL = 'http://localhost:8099'
const instance = axios.create({
    baseURL,
    timeout: 5000
})
instance.interceptors.response.use(res => {
    return res.data.data
}, err => {
    return  Promise.reject(err)
})
export default instance